return {
  "williamboman/mason.nvim",
  config = function()
    -- mason.nvim Lsp服务安装和管理插件
    require("mason").setup({
      ui = {
        ---@since 1.0.0
        -- Whether to automatically check for new versions when opening the :Mason window.
        check_outdated_packages_on_open = true,

        ---@since 1.0.0
        -- The border to use for the UI window. Accepts same border values as |nvim_open_win()|.
        --border = "none",
        border = "single",
        --border = "dobule",
        --border = "shadow",

        ---@since 1.0.0
        -- Width of the window. Accepts:
        -- - Integer greater than 1 for fixed width.
        -- - Float in the range of 0-1 for a percentage of screen width.
        width = 0.8,

        ---@since 1.0.0
        -- Height of the window. Accepts:
        -- - Integer greater than 1 for fixed height.
        -- - Float in the range of 0-1 for a percentage of screen height.
        --height = 0.9,
        height = 0.8,
      },
    })
  end,
  -- mason快捷键
  vim.api.nvim_set_keymap('n', '<F12>', ':Mason<CR>', {noremap = true, silent = true})
}
